Skip to content

fix(PluginSettings): improve chip contrast and enable custom chip styles.#4714

Open
aravind4799 wants to merge 1 commit intokubernetes-sigs:mainfrom
aravind4799:plugin-settings
Open

fix(PluginSettings): improve chip contrast and enable custom chip styles.#4714
aravind4799 wants to merge 1 commit intokubernetes-sigs:mainfrom
aravind4799:plugin-settings

Conversation

@aravind4799
Copy link

Summary

This PR fixes the color contrast issue for the "User-installed" chip in the Plugin Settings. The previous color combination (#ffffff on #0288d1) had a contrast ratio of 3.85:1, which failed the WCAG AA requirement of 4.5:1. This change updates the background color to #015493 to meet accessibility standards.

Related Issue

Fixes #4592

Changes

  • Updated [PluginSettings.tsx] to allow [sx] prop in typeLabels definition.
  • Changed "User-installed" chip background color to #015493.
  • Applied [sx] prop to the Chip component for custom styling.

Screenshots

Before:
Screenshot 2026-02-15 201303
After:
_2

Notes for the Reviewer

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aravind4799
Once this PR has been reviewed and has the lgtm label, please assign joaquimrocha for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

2 participants